<!--
  描述：钉钉登录首页HTML
  公司：xxx有限公司
  版权：xxx2020
  作者：oyjl
  时间：2020-05-06 10:33:50
  -->
<div class="main">
  <div class="top">
    <span>登录</span>
  </div>
  <div class="content">
    <div><img src="../../../assets/img/home/welcome.png" alt="加载失败"></div>
    <div><strong>欢迎登陆瑞华康源用户端</strong></div>
    <div>
      <p><input type="text" [(ngModel)]="accountName" placeholder="请输入用户名"></p>
      <p>
        <input #pwd type="password" [(ngModel)]="password" placeholder="请输入密码">
        <i #pwdIcon class="fa fa-eye-slash" (click)="pwdHandle(pwd, pwdIcon)"></i>
      </p>
      <p class='error-title' *ngIf="errorInfo">{{errorInfo}}</p><br>
      <p><button (click)="login()">登录</button></p>
    </div>
    <div>登陆即代表您同意<a href="javascript:void(0)" (click)="showProtocol=true;">《用户使用条款和隐私声明》</a></div>
  </div>
</div>
<app-protocol-panel [(showProtocol)]="showProtocol"></app-protocol-panel>
